﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class AdminPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblUsername.Text = Session["Username"].ToString();
        lblRolename.Text = Session["Rolename"].ToString();
    }
    protected void lbtnLogOut_Click(object sender, EventArgs e)
    {
        Session["Username"] = null;
        Session["Password"] = null;
        Session["Rolename"] = null;
        Response.Redirect("Login.aspx");
    }
}
